﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CustomerMaster.master" AutoEventWireup="true" CodeBehind="CustomerChangePassword.aspx.cs" Inherits="EHTWebsiteProject.CustomerChangePassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentView" runat="server">
     <div class="ContenView-header">
        Endre passord
     </div>
     <div class="content-center">
        <table cellspacing="0" cellpadding="0" class="data-table">
            <tr>
                <td colspan="2" style="text-align:left;font-size:11px;">
                    <span class="failureNotification">
                        <asp:Literal ID="ltrMessage" runat="server"></asp:Literal>
                    </span>
                    <asp:ValidationSummary ID="RegisterUserValidationSummary" runat="server" CssClass="failureNotification"
                        ValidationGroup="RegisterUserValidationGroup" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lbPasswordOld" runat="server">Passord</asp:Label>:
                </td>
                <th>
                    <asp:TextBox ID="txtPasswordOld" runat="server" CssClass="textEntry" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rPasswordOld" runat="server" ControlToValidate="txtPasswordOld"
                        CssClass="failureNotification" ErrorMessage="Password old is required." ToolTip="Password old is required."
                        ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
                </th>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lbPassword" runat="server">Passord ny</asp:Label>:
                </td>
                <th>
                    <asp:TextBox ID="txtPassword" runat="server" CssClass="textEntry" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rPassword" runat="server" ControlToValidate="txtPassword"
                        CssClass="failureNotification" ErrorMessage="Password is required." ToolTip="Password is required."
                        ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
                </th>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lbConfirmPassword" runat="server">Bekreft passord ny</asp:Label>:
                </td>
                <th>
                    <asp:TextBox ID="txtConfirmPassword" runat="server" CssClass="textEntry" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rConfirmPassword" runat="server" ControlToValidate="txtConfirmPassword"
                        CssClass="failureNotification" ErrorMessage="Confirm password is required." ToolTip="Confirm password is required."
                        ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="cConfirmPassword" CssClass="failureNotification" ControlToValidate="txtConfirmPassword"
                        ControlToCompare="txtPassword" runat="server" ErrorMessage="Confirm Password is same password."
                        ToolTip="Confirm Password is same password." ValidationGroup="RegisterUserValidationGroup">*</asp:CompareValidator>
                </th>
            </tr>
            <tr>
                <td></td>
                <th> 
                    <asp:Button ID="btnChange" runat="server" Text="Endre" 
                        ValidationGroup="RegisterUserValidationGroup" style="height: 26px" 
                        onclick="btnChange_Click" />
                </th>
            </tr>
        </table>
    </div>
</asp:Content>
